package com.kylin.common.core.filter;

import com.alibaba.fastjson2.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 接口日志对象
 * @author wuhao
 * @version 1.0 - 2023/4/23
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ApiLog {

    private int code;
    private String msg;
    private JSONObject params;
    /** 解密后参数 */
    private JSONObject decryptParams;
    private JSONObject result;
    private String url;
    private String method;
    private long times;
    private String exception;
    private String ip;
    private String userIp;
    private Long userId;
}
